package com.mjkj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 支付交易表
 * </p>
 *
 * @author shironeko
 * @since 2025-01-06
 */
@TableName("t_pay")
@Data
@Schema(name = "TPay", description = "$!{table.comment}")
public class TPay implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "支付流水号")
    private String payNo;

    @Schema(description = "订单流水号")
    private String orderNo;

    @Schema(description = "用户账号ID")
    private Integer userId;

    @Schema(description = "交易金额")
    private BigDecimal amount;

    @Schema(description = "用除标志，默认0不删除，1册除")
    private Byte deleted;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
}
